home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_97.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  120KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | earth | reckoner | sky | windowpane
OCR: Lesson 18 1-93 Drawing views the DRAW: method he screen coordinates will have been set so that the top left corner of the view is at (0,0). In Mac terminology this called setting torigin to be relative to the view. (2) Theclip region will have been set to coincide with the view. Thus you can draw outside the view, but anything outside will not appear on the screen 'This can simplify things consi siderably, since you can draw view without having to worry about its exact size at that time (and of course its size might change while the progra am is running). 3Mops has Rect object tempRect which IS used for a number Qf things When DRAW: is called on view tempRect will have been set to coincide with the boundary of the view. This can be very handy. We use this feature in the demo to draw frame ...